package com.jcf.springboot.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jcf.springboot.entity.sys.Manager;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jjj
 * @since 2021-03-18
 */
public interface ManagerService extends IService<Manager> {
  String getUserAuthorityInfo(String userId);

  Map sealData(Manager one);

  IPage<Manager> getListWithPage(Page page, String query);

  boolean saveUser(Manager manager);

  boolean updateUser(Manager manager);

  boolean removeUser(String userId);
}
